src/gdk-pixbuf-drawable.c (gdk_pibxuf_from_drawable_core): Now calls
authorCody Russell <bratsche@src.gnome.org>
Tue, 2 Nov 1999 23:59:03 +0000 (23:59 +0000)
committerCody Russell <bratsche@src.gnome.org>
Tue, 2 Nov 1999 23:59:03 +0000 (23:59 +0000)
gdk_pixbuf_new_from_art_pixbuf() instead of gdk_pixbuf_new().

gdk-pixbuf/ChangeLog
gdk/gdkpixbuf-drawable.c

index c9e863254a534dc69aaaa49e8d5258e9540f098e..d7fb974a7b452fc1f210b6dadc65fb32623a84a3 100644 (file)
@@ -1,3 +1,7 @@
+1999-11-02  Cody Russell  <bratsche@dfw.net>
+       * src/gdk-pixbuf-drawable.c (gdk_pixbuf_from_drawable_core): Now
+       calls gdk_pixbuf_new_from_art_pixbuf() instead of gdk_pixbuf_new().
+
 1999-11-02  Jonathan Blandford  <jrb@redhat.com>
 
        * src/io-gif.c (gif_main_loop): Now progressive gif loading works!
index 73e02365bd73110628aaafb1569579d20f174a16..dbbd6f18b1467f5c2d7a257edf70cad1de74e7a1 100644 (file)
@@ -131,7 +131,7 @@ gdk_pixbuf_from_drawable_core (GdkWindow *window, gint x, gint y, gint width, gi
        art_pixbuf = with_alpha ? art_pixbuf_new_rgba (buff, width,  height, rowstride) :
                art_pixbuf_new_rgb (buff, width, height, rowstride);
 
-       return gdk_pixbuf_new(art_pixbuf, NULL);
+       return gdk_pixbuf_new_from_art_pixbuf(art_pixbuf);
 }
 
 /* Public functions */